package com.lysj.bhp.borrowing.vo;

import jnr.ffi.annotations.In;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.util.Date;


/**
 * @author drj
 * @date 2018/8/27 17:29
 * @Description：还款中,已结清记录
 */
public class BorrowingRecordVo {
    private Long borrowingRecordId;
    private String borrowingOrderNo;//借款单号
    private Date applyDate;//申请时间
    private Integer progress; //还款当前进度
    private Integer deadline;//期限
    private Integer rateType;//利率类型
    private String progressInfo;
    private BigDecimal interest; //借款利率
    //还款中跟已结清通用
    private BigDecimal offDebtMoney; //已还金额
    private BigDecimal offDebtMoneyCny; //已还金额(单位:CNY)
    private Integer defaultStatus;//违约状态 1：已逾期||2:正常状态||3.今日到期
    //-----------------------申请中------------------------
    private Integer borrowingType;//借款币种
    private BigDecimal borrowingMoney; //借款金额
    private BigDecimal borrowingMoneyCny; //借款金额(单位:CNY)
    private Integer mortgageType;//借款币种
    private BigDecimal mortgageMoney; //抵押金额
    private BigDecimal mortgageMoneyCny; //抵押金额(单位:CNY)
    private Integer checkStatus;//审核状态:1：申请中(提交申请,待审核)||-1:放款失败(审核失败)||2：审核中 (审核成功,等待放款)
    //--------------------------还款中-----------------------------------
    private BigDecimal currentDebtMoney; //本期应还
    private BigDecimal currentDebtMoneyCny; //本期应还(单位:CNY)
    private BigDecimal noDebtMoney; //未还金额
    private BigDecimal noDebtMoneyCny; //未还金额(单位:CNY)
    private Date returnMoneyDate; // 还款日期
    //--------------------------已结清-------------------------
    private BigDecimal defaultMoney; //违约金(附带单位)
    private BigDecimal defaultMoneyCny; //违约金(单位:CNY)
    private Date closedDate;//结清时间


    public BorrowingRecordVo() {
    }

    public BorrowingRecordVo(Long borrowingRecordId, String borrowingOrderNo, Date applyDate, Integer borrowingType, BigDecimal borrowingMoney, Integer deadline, BigDecimal interest, Integer progress, Integer defaultStatus, Integer mortgageType, BigDecimal mortgageMoney, Integer checkStatus ,Integer rateType) {
        this.borrowingRecordId = borrowingRecordId;
        this.borrowingOrderNo = borrowingOrderNo;
        this.applyDate = applyDate;
        this.borrowingType = borrowingType;
        this.borrowingMoney = borrowingMoney;
        this.deadline = deadline;
        this.interest = interest;
        this.progress = progress;
        this.defaultStatus = defaultStatus;
        this.mortgageType = mortgageType;
        this.mortgageMoney = mortgageMoney;
        this.checkStatus = checkStatus;
        this.rateType = rateType;
    }

    public String getBorrowingOrderNo() {
        return borrowingOrderNo;
    }

    public void setBorrowingOrderNo(String borrowingOrderNo) {
        this.borrowingOrderNo = borrowingOrderNo;
    }

    public Date getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(Date applyDate) {
        this.applyDate = applyDate;
    }

    public Date getClosedDate() {
        return closedDate;
    }

    public void setClosedDate(Date closedDate) {
        this.closedDate = closedDate;
    }

    public Integer getBorrowingType() {
        return borrowingType;
    }

    public void setBorrowingType(Integer borrowingType) {
        this.borrowingType = borrowingType;
    }

    public BigDecimal getBorrowingMoney() {
        return borrowingMoney;
    }

    public void setBorrowingMoney(BigDecimal borrowingMoney) {
        this.borrowingMoney = borrowingMoney;
    }

    public Integer getDeadline() {
        return deadline;
    }

    public void setDeadline(Integer deadline) {
        this.deadline = deadline;
    }

    public BigDecimal getInterest() {
        return interest;
    }

    public void setInterest(BigDecimal interest) {
        this.interest = interest;
    }

    public BigDecimal getDefaultMoneyCny() {
        return defaultMoneyCny;
    }

    public void setDefaultMoneyCny(BigDecimal defaultMoneyCny) {
        this.defaultMoneyCny = defaultMoneyCny;
    }

    public Integer getDefaultStatus() {
        return defaultStatus;
    }

    public void setDefaultStatus(Integer defaultStatus) {
        this.defaultStatus = defaultStatus;
    }

    public Integer getProgress() {
        return progress;
    }

    public void setProgress(Integer progress) {
        this.progress = progress;
    }

    public Long getBorrowingRecordId() {
        return borrowingRecordId;
    }

    public void setBorrowingRecordId(Long borrowingRecordId) {
        this.borrowingRecordId = borrowingRecordId;
    }

    public String getProgressInfo() {
        return progressInfo;
    }

    public void setProgressInfo(String progressInfo) {
        this.progressInfo = progressInfo;
    }

    public Integer getMortgageType() {
        return mortgageType;
    }

    public void setMortgageType(Integer mortgageType) {
        this.mortgageType = mortgageType;
    }

    public BigDecimal getMortgageMoney() {
        return mortgageMoney;
    }

    public void setMortgageMoney(BigDecimal mortgageMoney) {
        this.mortgageMoney = mortgageMoney;
    }

    public BigDecimal getMortgageMoneyCny() {
        return mortgageMoneyCny;
    }

    public void setMortgageMoneyCny(BigDecimal mortgageMoneyCny) {
        this.mortgageMoneyCny = mortgageMoneyCny;
    }

    public BigDecimal getOffDebtMoney() {
        return offDebtMoney;
    }

    public void setOffDebtMoney(BigDecimal offDebtMoney) {
        this.offDebtMoney = offDebtMoney;
    }

    public BigDecimal getOffDebtMoneyCny() {
        return offDebtMoneyCny;
    }

    public void setOffDebtMoneyCny(BigDecimal offDebtMoneyCny) {
        this.offDebtMoneyCny = offDebtMoneyCny;
    }

    public BigDecimal getBorrowingMoneyCny() {
        return borrowingMoneyCny;
    }

    public void setBorrowingMoneyCny(BigDecimal borrowingMoneyCny) {
        this.borrowingMoneyCny = borrowingMoneyCny;
    }

    public Integer getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(Integer checkStatus) {
        this.checkStatus = checkStatus;
    }

    public BigDecimal getCurrentDebtMoney() {
        return currentDebtMoney;
    }

    public void setCurrentDebtMoney(BigDecimal currentDebtMoney) {
        this.currentDebtMoney = currentDebtMoney;
    }

    public BigDecimal getCurrentDebtMoneyCny() {
        return currentDebtMoneyCny;
    }

    public void setCurrentDebtMoneyCny(BigDecimal currentDebtMoneyCny) {
        this.currentDebtMoneyCny = currentDebtMoneyCny;
    }

    public BigDecimal getNoDebtMoneyCny() {
        return noDebtMoneyCny;
    }

    public void setNoDebtMoneyCny(BigDecimal noDebtMoneyCny) {
        this.noDebtMoneyCny = noDebtMoneyCny;
    }

    public BigDecimal getDefaultMoney() {
        return defaultMoney;
    }

    public void setDefaultMoney(BigDecimal defaultMoney) {
        this.defaultMoney = defaultMoney;
    }

    public BigDecimal getNoDebtMoney() {
        return noDebtMoney;
    }

    public void setNoDebtMoney(BigDecimal noDebtMoney) {
        this.noDebtMoney = noDebtMoney;
    }

    public Integer getRateType() {
        return rateType;
    }

    public void setRateType(Integer rateType) {
        this.rateType = rateType;
    }

    public Date getReturnMoneyDate() {
        return returnMoneyDate;
    }

    public void setReturnMoneyDate(Date returnMoneyDate) {
        this.returnMoneyDate = returnMoneyDate;
    }
}
